package com.example.pojo;

import lombok.Data;
import org.apache.ibatis.type.Alias;

import java.util.Date;

@Data
@Alias("UserCollection")  // 添加唯一别名
public class Collection {
    private Integer id;
    private Integer userId;
    private Integer roomId;
    private Date createTime;
    private Room room;
}
